/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.ucb.game8numbers.service.win;

import br.com.ucb.game8numbers.enums.EnumValues;
import br.com.ucb.game8numbers.service.DataResponsible;
import br.com.ucb.game8numbers.util.Utils;

/**
 *
 * @author robs
 */
public class WinGame {
    public static final String [][] matrizResultado = { {EnumValues.UM.getText(), EnumValues.DOIS.getText(),EnumValues.TRES.getText()},
                                                        {EnumValues.OITO.getText(), EnumValues.VAZIO.getText(), EnumValues.QUATRO.getText()},
                                                        {EnumValues.SETE.getText(), EnumValues.SEIS.getText(), EnumValues.CINCO.getText()}
                                                      };

    public static boolean ganhei(DataResponsible fornecedorDados){
        return Utils.getQuantityValuesOutOfPlace(fornecedorDados.getValues()) == 0;
    }

}
